<!DOCTYPE html>
<html>
<meta charset="utf-8">
<body>
<button type="button" onclick="htmlTest()">Click Me!</button>
<p id="demo"></p>

</body>
<script type="text/javascript">
    function htmlTest() {
      // This function call expects to return "ArkUI Web Component"
      const paymentData = {
    businessType: "invoice_payment",
    businessId: "INV_20230715_98765"
};
     const jsonString = JSON.stringify(paymentData);
      let str=arkTsBridge.payAction(jsonString);
      arkTsBridge.testNumber(1);
      arkTsBridge.asyncTestBool(true);
      document.getElementById("demo").innerHTML=str;
      console.log('arkTsBridge.test result:'+ str)

    }
</script>
</html>